C/Numbers/Number Pyramid/Different numbers in same line/REVNUM.C
//Reverse order of stars
#include<stdio.h>
#include<conio.h>
int main()
{
int i,j,n;
printf("Enter max stars in a line: ");
scanf("%d",&n);
for(i=n;i>=1;i--)
{
for(j=1;j<=i;j++)
{
printf("%d ",j);
}
printf("\n");
}
getch();
return 0;
}